package com.example.hello;

import com.vaadin.ui.HorizontalLayout;

public class HSpacer extends HorizontalLayout {

    public HSpacer() {
        this(10);
    }

    public HSpacer(int value) {
        this(value, Unit.PIXELS);
    }

    public HSpacer(int value, Unit unit) {
        this(value + unit.getSymbol());
    }

    public HSpacer(String space) {
        setWidth(space);
    }

}
